package com.liujun.microserver.auth2.webjoin.server.oauth;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * json与bean的关联信息
 * 
 * @author liujun
 * @date 2018/07/08
 */
public class OAuth2Token {

	/**
	 * w生成的token信息
	 */
	@JsonProperty("access_token")
	private String accessToken;

	@JsonProperty("token_type")
	private String tokenType;

	@JsonProperty("expires_in")
	private String expiresIn;

	/**
	 * d刷新的token
	 */
	@JsonProperty("refresh_token")
	private String refreshToken;

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getTokenType() {
		return tokenType;
	}

	public void setTokenType(String tokenType) {
		this.tokenType = tokenType;
	}

	public String getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(String expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

}
